ServerAdmin <%= node['apache']['user'] %>@<%= `hostname` %>
ServerName <%= `hostname` %>

DocumentRoot <%= node[:faxocr][:home_dir] %>/rails/public
<Directory <%= node[:faxocr][:home_dir] %>/rails/public >
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        allow from all
        # This directive allows us to have apache2's default start page
        # in /apache2-default/, but still have / go to the right place
        #RedirectMatch ^/$ /apache2-default/
</Directory>
RackEnv <%= node[:faxocr][:rails_mode] %>
RackBaseURI /
#SetEnv GEM_HOME <%= node[:faxocr][:home_dir] %>/rails/vendor/bundle/ruby/1.8

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined
ServerSignature On
